package com.wushi.lenovo.asia5b.app_event;

import com.wushi.lenovo.asia5b.app_config.WishRepository;

/**
 * Created by zhangyuncai on 2020/3/17.
 */
public class UpdateWisnStateEvent {
    public String product_id;//收藏的产品id
    public boolean isWish;//收藏成功后的状态

    public UpdateWisnStateEvent(String product_id, boolean isWish) {
        this.product_id = product_id;
        this.isWish = isWish;
        WishRepository.updateWishCount();
    }
}
